const api_names = ["login", "register", "getData", "setData"];

module.exports = (app) => {
  for (let route of api_names) {
    console.log(`/api/${route}`);
    app.use(`/api/`, require(`./api/${route}`));
  }
};
